From ed31e7e8fb2498c6ab7eb0ce5445f3111c30135d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 2 Aug 2008 04:35:02 +0000 Subject: [PATCH] =?utf8?q?Bug=20540834=20=E2=80=93=20Insensitive=20widgets?= =?utf8?q?=20cannot=20be=20grabbed?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-08-02 Matthias Clasen Bug 540834 – Insensitive widgets cannot be grabbed * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets cannot be grabbed. Patch by Björn Lindqvist svn path=/trunk/; revision=20933 --- docs/reference/ChangeLog | 7 +++++++ docs/reference/gtk/tmpl/gtkmain.sgml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index bf012a08bc..62a2dca9ca 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,10 @@ +2008-08-02 Matthias Clasen + + Bug 540834 – Insensitive widgets cannot be grabbed + + * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets + cannot be grabbed. Patch by Björn Lindqvist + 2008-08-02 Matthias Clasen * gtk/gtk-sections.txt: Update diff --git a/docs/reference/gtk/tmpl/gtkmain.sgml b/docs/reference/gtk/tmpl/gtkmain.sgml index 5907513d44..d97196d99b 100644 --- a/docs/reference/gtk/tmpl/gtkmain.sgml +++ b/docs/reference/gtk/tmpl/gtkmain.sgml @@ -381,6 +381,10 @@ Makes @widget the current grabbed widget. This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget. + +If @widget is not sensitive, it is not set as the current grabbed +widget and this function does nothing. + @widget: The widget that grabs keyboard and pointer events. @@ -398,6 +402,9 @@ Queries the current grab of the default window group. Removes the grab from the given widget. You have to pair calls to gtk_grab_add() and gtk_grab_remove(). + +If @widget does not have the grab, this function does nothing. + @widget: The widget which gives up the grab. -- 2.30.2